import axios from '@u/request'
const fetchStudy = (params) => {
  return axios.get('/nowPage', { params })
}
// 反馈
const feedBack = (params) => axios.post('/feedback', params)
// 增加学员信息
const studAdd = (params) => axios.post('/studAdd', params)
// 修改学员信息详情
const studyUpdate = (params) => axios.post('/studyUpdate', params)
// 获取学员信息详情
const getitemDetail = (params) => {
  return axios.get('/getitemDetail', { params })
}
// 删除学员信息
const studyDelete = (params) => {
  return axios.delete('/studyDelete', { params })
}
export {
  fetchStudy,
  feedBack,
  studAdd,
  studyUpdate,
  studyDelete,
  getitemDetail
}
